let adminList = {
  code: 200,
  msg: null,
  data: [
    {
      id: 81,
      createTime: '2022-08-15 20:34:09',
      updateTime: null,
      account: 'user2',
      password: null,
      storeId: 2,
      storeName: '氢氧食品长宁大道店',
      openingTime: '16:00:00-23:00:00',
      openTime: '16:00:00',
      endTime: '23:00:00',
      phone: '13588897412',
      station: '长宁大道',
      groupId: 2,
      lastLogin: null,
      status: 1
    },
    {
      id: 80,
      createTime: '2022-08-15 20:33:31',
      updateTime: null,
      account: 'user333',
      password: null,
      storeId: 2,
      storeName: '氢氧食品长宁大道店',
      openingTime: '16:00:00-23:00:00',
      openTime: '16:00:00',
      endTime: '23:00:00',
      phone: '13513889416',
      station: '长宁大道',
      groupId: 2,
      lastLogin: null,
      status: 1
    },
    {
      id: 73,
      createTime: '2022-08-01 20:10:57',
      updateTime: null,
      account: '123123',
      password: null,
      storeId: 1,
      storeName: null,
      openingTime: null,
      openTime: null,
      endTime: null,
      phone: '12312333333',
      station: null,
      groupId: 1,
      lastLogin: null,
      status: 1
    }
  ],
  page: 1,
  pageSize: 5,
  total: 3
};

let examineList = {
  code: 200,
  msg: null,
  data: [
    {
      id: 83,
      createTime: '2022-08-16 21:29:30',
      updateTime: null,
      account: 'lizhiyuan',
      password: null,
      storeId: 2,
      storeName: '氢氧食品长宁大道店',
      openingTime: '16:00:00-23:00:00',
      openTime: '16:00:00',
      endTime: '23:00:00',
      phone: '18601620000',
      station: '长宁大道',
      groupId: 3,
      lastLogin: null,
      status: 2
    },
    {
      id: 79,
      createTime: '2022-08-15 20:27:51',
      updateTime: null,
      account: 'user',
      password: null,
      storeId: null,
      storeName: null,
      openingTime: null,
      openTime: null,
      endTime: null,
      phone: '13513889416',
      station: null,
      groupId: 2,
      lastLogin: null,
      status: 2
    },
    {
      id: 76,
      createTime: '2022-08-01 20:17:14',
      updateTime: null,
      account: 'lizhiyuan333',
      password: null,
      storeId: null,
      storeName: null,
      openingTime: null,
      openTime: null,
      endTime: null,
      phone: '13513889411',
      station: null,
      groupId: 2,
      lastLogin: null,
      status: 2
    }
  ],
  page: 1,
  pageSize: 5,
  total: 3
};

export default [
  {
    url: '/mock/v1/admin/findAdminList',
    method: 'post',
    response: data => {
      if (data.body.status == 1) {
        return adminList;
      } else {
        return examineList;
      }
    }
  }
];
